package com.zhixiang.xaec.service.safebase.safemeeting.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zhixiang.core.dao.BaseDao;
import com.zhixiang.core.service.impl.BaseServiceImpl;
import com.zhixiang.xaec.dao.safebase.safemeeting.MeetInformationDao;
import com.zhixiang.xaec.entity.safebase.safemeeting.MeetInformation;
import com.zhixiang.xaec.service.safebase.safemeeting.MeetInformationService;

@Service
public class MeetInformationServiceImpl extends
		BaseServiceImpl<MeetInformation, Long> implements
		MeetInformationService {

	@Override
	@Resource(type = MeetInformationDao.class)
	public void setBaseDao(BaseDao<MeetInformation, Long> dao) {

		setDao(dao);

	}

	@Override
	public String delete(String[] ids) {
		for (String id : ids) {
			getDao().remove(Long.valueOf(id));
		}
		return null;
	}

}
